Skip to main content

atan

Type

function

Summary

Returns the arc tangent of a number in radians.

Syntax

the atan of <number>
atan(<number>)

Description

Use the atan function to find the arc tangent of a number.

The arc tangent of number is an angle whose tangent is equal to number. In other words, atan is an inverse of the tan function.

If a math operation on finite inputs produces a non-finite output, an execution error is thrown. See math operations for more information.

Parameters

NameTypeDescription

number

A positive or negative number, or an expression that evaluates to a number.

Examples

atan(0)
atan(tan(-1))
the atan of vectorMagnitude

constant: pi

control structure: function

function: tan

glossary: radian, custom function, return, degree, math operation

keyword: inverse

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?